package <%= class_name.downcase.gsub('::','.') %>.business
{
	import com.adobe.cairngorm.business.ServiceLocator;
	
	import mx.rpc.IResponder;
	import mx.rpc.remoting.RemoteObject;

	import <%= class_name.downcase.gsub('::','.') %>.model.<%= file_name.camelcase %>ModelLocator;

	public class <%= file_name.camelcase %>Delegate
	{
		protected var responder : IResponder;
		protected var remoteObjectService : RemoteObject;
	
		[Bindable]
		public var model: <%= file_name.camelcase %>ModelLocator = <%= file_name.camelcase %>ModelLocator.getInstance();
		
		public function InitializeRemoteObject(responder : IResponder,  remoteObjectName : String) : void {
			this.responder = responder;
			this.remoteObjectService = ServiceLocator.getInstance().getRemoteObject( remoteObjectName );
		}
	}
}